package com.link.base.base.report.service;

import com.link.base.base.report.dao.mybatis.mapper.PurchaseStatusReportMapper;
import com.link.base.base.report.model.PurchaseStatusReport;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author: Wei Xuan
 * @description: 要货计划经销商提交状态报表 Service
 * @created：2018/12/04 15:33
 * @modified By：
 */
@Service
public class PurchaseStatusReportServiceImpl implements PurchaseStatusReportService {

    @Resource
    private PurchaseStatusReportMapper purchaseStatusReportMapper;

    /**
     * 查询要货计划经销商提交状态
     *
     * @param entity
     * @return List PurchaseStatusReport
     * @throws Exception
     */
    @Override
    public List<PurchaseStatusReport> queryPurchaseStatusList(PurchaseStatusReport entity) throws Exception {
        return purchaseStatusReportMapper.queryPurchaseStatusPage(entity);
    }

}
